import React from 'react'
class A extends React.Component{
    constructor(){
        super()
        console.log('A1,初始化')
    }
    render(){
        console.log('解析jsx')
        return <div>A</div>
    }
    componentDidMount(){
        console.log('A2,挂载成功')
    }
    componentDidUpdate(){
        console.log('A3,组件完成更新')
    }
    componentWillUnmount(){
        console.log('A4,准备卸载')
    }
}
export default A